home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Technology Demos and Tools.iso / showmetv / ShowMeTV / share / mc-titles.config next >
Encoding:
Text File  |  1996-02-27  |  3.3 KB  |  123 lines

  1. #
  2. # @(#)mc-titles.config    1.2 23 Jan 1996
  3. # Copyright 1996 Sun Microsystems, Inc.  All Rights Reserved.
  4. #
  5.  
  6. #
  7. # Media Center VOD title configuraion file
  8. # ========================================
  9. #
  10. #
  11. # INTRODUCTION
  12. # ------------
  13. # This file is used to specify a list of Media Center video servers and 
  14. # the VOD titles each of them contains.  It is used in conjunction with 
  15. # ShowMe TV (running with the -mc optional argument) to receive and 
  16. # playback VOD programs from individual Media Center video servers over 
  17. # the network.  It serves as a database for ShowMe TV to identify the 
  18. # video servers it can connect to; and the titles it can play from each 
  19. # of them.  A user can then interactively choose to connect to different
  20. # servers and playback selected titles.
  21. #
  22. # SYNTAX
  23. # ------
  24. # This file is organized into lists of attribute-value pairs.  Each
  25. # attribute-value pair contains a keyword that starts with a `:'; and 
  26. # a value that can be a name, a double-quoted string or a another list.  
  27. # The following BNF describes the full syntax in detail:
  28. #
  29. # <syntax> ::= :MCF-1 <server_clause>*
  30. # <server_clause> ::= 
  31. #     :server    ( <hostname_attr> 
  32. #          <desciption_attr> 
  33. #          <vod_clause>* )
  34. # <vod_clause> ::=
  35. #     :vod ( <title_attr> 
  36. #           <file_attr> 
  37. #           <start_offset_attr> 
  38. #           <duration_attr> ) |
  39. #     :vod ( <movie_clause>* | 
  40. #           <deadair_clause>* )
  41. #
  42. # <movie_clause> ::=
  43. #     :movie ( <title_attr> 
  44. #             <file_attr> 
  45. #             <start_offset_attr> 
  46. #             <duration_attr> )
  47. # <deadair_clause> ::=
  48. #     ::deadair ( <duration_attr> )
  49. #
  50. # <hostname_attr> ::= :hostname <identifier>
  51. # <description_attr> ::= :description <string>
  52. # <title_attr> ::= :title <string>
  53. # <file_attr> ::= :file <filepath>
  54. # <start_offset_attr> ::= :start_offset <time>
  55. # <duration_attr> ::= :duration <time>
  56. # <string> ::= <identifier> | <double-quoted-string>
  57. #
  58. # <identifier> ::= an alphanumeric string with no space in between.
  59. # <double-quoted-string> ::= double quoted strings.  A '\' is used as
  60. #                an escape character.
  61. # <filepath> ::= a valid UNIX file path.
  62. # <time> ::= time specified in hh:mm:ss format.
  63. #
  64. # Comments can be inter-mixed with any clauses as long as it starts
  65. # with '#' and ends in one line.
  66. # The syntax is case insensitive.
  67. #
  68. # EXAMPLE
  69. # -------
  70. # :MCF-1
  71. # :server (
  72. #     :hostname    vod-server
  73. #     :description    "The Sun Library video server in room 242."
  74. #     :vod (
  75. #         :title    "Sunergy 14"
  76. #         :file    /sunergy.TOC
  77. #         :start_offset    10:25
  78. #     )
  79. #     :vod (
  80. #         :title    "Friday Feature"
  81. #         :movie    (
  82. #             :file        /toystory.TOC
  83. #             :duration    1:30:00
  84. #         )
  85. #     
  86. #         :deadair (
  87. #             :duration    60
  88. #         )
  89. #     
  90. #         :movie (
  91. #             :file    /starwars.TOC
  92. #         )
  93. #     )
  94. # )
  95. #
  96. #
  97. # SEMANTICS
  98. # ---------
  99. # In the above example, only one video server, vod-server is specified.
  100. # It contains two VOD titles, "Sunergy 14" and "Friday Feature".
  101. # "/sunergy.TOC" corresponds to "Sunergy 14", is the actual movie file 
  102. # stored on the video server.  A start offset of 10 minutes 25 seconds 
  103. # into the movie is specified.
  104. # The second title "Friday Feature" is actually a concatenation of two 
  105. # movies, /toystory.TOC and /starwars.TOC.  A duration of one hour and 
  106. # 30 minutes is specified for the toystory while starwars is allowed 
  107. # to go for its full length.  Furthermore, a "deadair" (moments of 
  108. # silence) of 60 seconds is specified in between the two movies. 
  109.  
  110. :MCF-1
  111.